<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page isELIgnored="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!doctype html>
<html lang="zh-CN">
<head>
<meta content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" name="viewport" />
<meta charset="utf-8">
<title>来存吧-送钱计划</title>
<style type="text/css">
*{
	margin:0;
	padding:0;
}

.contain{
	position:relative;
}

.contain img{
	box-sizing: border-box;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	border: 0;  
}
.btn_replay{
	position: absolute;
	display: block;
}
</style>
</head>
<body>
<input type="hidden" id="loginStatus" value="${loginStatus }" />
<div class="contain">
	<img src="http://laicunba.b0.upaiyun.com/lcb/activity/send_money.jpg" width="100%" />
	<a href="javascript:void(0);" class="btn_replay"></a>
</div>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script>
$(function(){
	var ratio = $(window).width()/750;
	function rdist(num){
		return Math.floor(ratio * num) + "px";
	};
	$(".btn_replay").css({
		width: rdist(647),
	    height: rdist(78),
	    left: rdist(49),
	    bottom: rdist(95),
	});
	
	$(".btn_replay").click(function() {
		var device = "${param.device}";
		var app_token = "${param.app_token}";
		if($("#loginStatus").val() == 0) {
			if(device) {
				window.location.href="/h5/invite_info.htm?device=app&app_view=acc&_app_version=2.0&app_token="+app_token;
			} else {
				window.location.href="/h5/login.htm?tab=account&returnUrl=/h5/invite_info.htm";
			}
		} else {
			if(device) {
				window.location.href="/h5/invite_info.htm?device=app&app_view=acc&_app_version=2.0&app_token="+app_token;
			} else {
				window.location.href="/h5/invite_info.htm";
			}
		}
	});
});
</script>
</body>
</html>